<?php 
class lifeListAction extends frontAction{
	public function execute(){
		$userID = $this->getGetParam('userID',0);
		$dao = new DaoInterview();
		list($views,$page) = $dao->getListPage(" userID='$userID' and type='".service_type::DESIGNLIFE."'",20);
		
		$cache = new Cache_request();
		$cache->set("userID",$userID);
		$this->assign('views',$views);
		$this->assign('page',$page);
	}
}
?>
